package main

import (
	levellogger "logProject2/logger"
	"time"
)

func main() {
	for {
		log := levellogger.NewLogger("info")
		log.Trace("this is trace loglevel")
		log.Debug("this is debug loglevel")
		log.Info("this is info loglevel")
		log.Warning("this is warning loglevel")
		log.Error("this is error loglevel")
		log.Fatal("this is fatal loglevel")
		time.Sleep(time.Second*2)
	}

}